home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1996 #14 / Monster Media No. 14 (April 1996) (Monster Media, Inc.).ISO / internet / doip9601.zip / DOIP9601.FAQ < prev    next >
Text File  |  1995-12-30  |  25KB  |  470 lines

  1. FAQ:DOIP Dial Other Intenet Provider Frequently Asked Questions
  2.  
  3. This list is maintained by Jay R. Curry aka Rusty. I can be reached at
  4. rusty@minn.net. E-mail any suggestions for this list. This file can be
  5. found at various locations as DIOPyymm.FAQ. As time permits I will
  6. modify this as a HTML document using JPEGs for screen shots
  7.  
  8. This list was started September 9, 1995. The following changes are
  9. implemented in this release.  The original copy is being edited in
  10. DeScribe Voyager, and a copy of this file is included in the archive.
  11. The primary advantage to this is that I am using revision marking
  12. during the editing of the updates and if you have a version of
  13. DeScribe that supports revision marking you should be able to see what
  14. I have found needs to be changed.
  15.  
  16. The main change in this version is that I have passed the document
  17. through a spell checker. I have also discovered some errors in the
  18. original document that may cause problems. I have added a section
  19. explaining how I have changed my own connection procedures over time. I
  20. no longer use the SLIPPM application, though I expect to use it again
  21. if I need to change ISP's (I doubt that I will, but odder things have
  22. happened) and I feel that it may be to someone's advantage to know some
  23. other ways to set up their connection.
  24.  
  25. I hope that this is of some use to you. If you find something here that
  26. you think was done exceptionally well, or poorly I would like to know. I
  27. will also be maintaining a variation of this document at my home page.
  28. The online version is striped down to the DOIP only. As I suspect that
  29. few people will be checking there for answers to some of the questions
  30. that this document answers.
  31.  
  32. My home page is http://www1.minn.net/~rusty/rusty.html, the online
  33. version of this document can be jumped to directly at
  34. http://www1.minn.net/~rusty/doip.html. As this document is updated I
  35. will be placing links to this document on my home page, so you may
  36. retrieve any updated version from there. I will post the version date
  37. on the home page also.
  38.  
  39.  
  40. This FAQ is broken up into sections, Setting up the dialer, messages in
  41. the Status box, Using PPP directly without SLIPPM.EXE, FTP sites.
  42.  
  43. Conventions:
  44.         Dates for questions and answers will be in the form yymmdd.
  45.         DOIP refers to the Dial Other Intenet Providers application.
  46.  
  47. ========================================================================
  48. Setting up the dialer.
  49. ------------------------------------------------------------------------
  50. Q: 950909: I have been using Windows Trumpet to connect to my PPP
  51. provider, how do I set up DOIP to use my current provider?
  52.  
  53. A: 960101: Get the latest PPP revision from one of the FTP sites
  54. carrying it. Check the list of sites at the end of this FAQ. When you
  55. start up "Dial Other Internet Providers" also known as SLIPPM and
  56. hereafter as DOIP  you will be presented with a list of providers that
  57. you have entered in, or a prompt to enter a provider. For tutorial use
  58. I will presume that you are entering a new provider. You can click on
  59. the Add new provider, or modify provider buttons.
  60.  
  61. You will be presented with a screen that looks something like this:
  62.  -------------------------------------------------
  63. =                                                 |
  64. =          *Name:  MinnNet                        |--------------
  65. =    Description:  Minn.Net                         Login Info   |
  66. =       Login ID:  rusty       _                  |---------------
  67. =       Password:  ********   |x| Required        |  Connect Info |
  68. =   Phone Number:  555-1234                       ||---------------
  69. = Login Sequence:  NONE                           ||  Server Info  |
  70. =                                                 |||---------------
  71. =                                                 |||  Modem Info   |
  72. =                                                 ||||--------------
  73. =                                                 ||||
  74. =                                                 ||||
  75. =                                                 ||||
  76. = .Connection Type..............................  ||||
  77. = .               ( ) SLIP   (*) PPP           .  ||||
  78. = ..............................................  ||||
  79. = .Inactivity Timeout Option....................  ||||
  80. = .Minutes to Wait Before Automatic Hang up: 15.  ||||
  81. = ..............................................  ||||
  82. =                  ______                         ||||
  83. =                 | HELP |  (* = required field)  ||||
  84. =                  ~~~~~~                         ||||
  85. =                                Page 1 of 4    ->||||
  86.  =================================================- ||
  87.  \==================================================-
  88.  
  89. For purposes of explanation I am using a variation of my own setup.
  90.  
  91. As noted near the bottom any field with an asterisk next to the name is
  92. a required field. Now on this page the Name is the only "required"
  93. field, but I doubt that you are going to get very far without some of
  94. the other fields filled in. If you are connecting to an ISP that does
  95. not support CHAP/PAP then you will need to enter your Login ID and your
  96. Password to log into your provider. If your ISP supports CHAP/PAP you
  97. may use a PPP.CFG file to keep this information out of this file. For
  98. more information review the PPP.TXT file that is included with the
  99. latest PPP.ZIP file from IBM. You should have a phone number for your
  100. provider. Initially the Login Sequence will say NONE, If your ISP
  101. supports CHAP/PAP leave the entry as it is. If your ISP does not
  102. support CHAP/PAP then you will need to remove the word NONE from this
  103. field. Later in this document I will outline some alternatives that you
  104. may consider if you run into problems.
  105.  
  106.  
  107. The next page will be altered by the selection of your connection type.
  108. If you select SLIP you will have different requirements than if you are
  109. using PPP. Since I use PPP exclusively, the information contained in
  110. this document assumes that you are configuring for PPP. If you are
  111. trying to configure for SLIP then the best recommendation I have at
  112. this time is to select one field at a time and press the [F1] for help
  113. on the field.
  114.  
  115. I leave the Inactivity Timeout Option at 15 min. If I am not doing
  116. TCP/IP traffic for over 15 min. I see no reason to tie up my provider's
  117. phone line.
  118.  
  119. My second page looks something like this:
  120.  -------------------------------------------------
  121. =                                                 ||
  122. =                                                 |||--------------
  123. = ............................................    |||  Login Info  |
  124. = .                                          .    -----------------
  125. = .        Your IP Address:                  .      Connect Info |
  126. = . Destination IP Address:                  .    ----------------
  127. = .                Netmask: 255.255.255.0    .    |  Server Info  |
  128. = .              *MRU size: 1500             .    |----------------
  129. = .                       _                  .    ||  Modem Info   |
  130. = .                      |x| VJ Compression  .    |||--------------
  131. = ............................................    ||||
  132. = ............................................    ||||
  133. = .    *Domain Namesserver: nnn.nnn.nnn.nnn  .    ||||
  134. = .         Your Host Name: Legarto          .    ||||
  135. = .      *Your Domain Name: Minn.Net         .    ||||
  136. = ............................................    ||||
  137. =                  ______                         ||||
  138. =                 | HELP |  (* = required field)  ||||
  139. =                  ~~~~~~                         ||||
  140. =                                Page 2 of 4 <- ->||||
  141.  =================================================- ||
  142.  \==================================================-
  143.  
  144. The original SLIP Dialer required an IP address in Your IP Address but
  145. would accept 0.0.0.0 if you offered it.
  146.  
  147. My provider recommended 0.0.0.0 for the destination IP Address. I have
  148. since found that this may cause problems in some situations. I have not
  149. encountered any problems myself, but I have changed the field to be
  150. blank since then.
  151.  
  152. The NetMask will be recommended by your provider, but will have some
  153. bearing upon the class of address you network uses. Most Internet
  154. Access Providers use a class C address set so they will usually
  155. recommend that this entry be 255.255.255.0. If your IP starts with the
  156. first number being less than 127 then your ISP is using part of a class
  157. A address. If your netmask is 255.0.0.0 then your ISP is a class A
  158. address holder. If it is 255.255.0.0 or 255.255.255.0 then your ISP may
  159. be receiving a subneted address out of the class A address block. For
  160. most purposes you will not need to worry about it other than to make
  161. sure that the netmask matches that described by your ISP. The rest of
  162. this is for your information. To learn more about the class system of
  163. IP addresses, and considerations for IPv6 check the latest RFC index
  164. for where to look for more information.
  165.  
  166. The MRU size is required and refers to the Maximum Response Unit, With a
  167. SLIP connection this field will be labeled MTU for Maximum Transmission
  168. Unit. They generally refer to the maximum allowable frame size. Look to
  169. your provider for a recommendation here. If you run into a problem where
  170. everything works fine until you go to post a file to a FTP site, or some
  171. such you may want to change this number to a number 2 less than your ISP
  172. recommends. The reason for this is that some routers out there count the
  173. frame flags in the byte count and others do not. For example my ISP
  174. recommends 1500 bytes, which works for me. The router in question would
  175. appear to deal effectively with the frame bytes. If I were to encounter
  176. problems I would set the MRU to 1498, which would allow the entire frame
  177. to be encapsulated including the flags with no problems. PPP.EXE that is
  178. distributed by IBM does not count the flag bytes.
  179.  
  180. If your Internet provider supports Header compression check the VJ
  181. Compression button. This compresses the information in the PPP header to
  182. help in reducing the time required for small packets to be sent across
  183. the PPP link. If you spend a lot of time in Telnet this can help simply
  184. by reducing the number of bytes sent with each keystroke. It can also
  185. help in large file transfers simply by reducing the overhead for each
  186. frame.
  187.  
  188. The Domain Name Server entry needs to be an IP address as there is no
  189. way to resolve a name if all you have is the name of the DNS. Sort of
  190. like walking into a parking lot full of cars and saying "I know Bob's
  191. car is in here some place, I wonder which one it is." Saying Bob's car
  192. is the Blue 88 Cutlass Sierra sn 12345678890. This is something like
  193. getting a domain name. It identifies the car, but does not tell you
  194. where it is. If I say it is on the 4th level of the mall parking ramp,
  195. twelfth car in the second row as you exit from Sears, you would be able
  196. to find it. You can get the IP Address for the DNS from your provider.
  197. They usually give it out without even being asked specifically for the
  198. information.
  199.  
  200. The field for Your Host Name may contain just about anything. I recomend
  201. not using the name of any host that your ISP uses. The field refers to
  202. your own system, and if you have given your system a name you may use
  203. that name in this field.
  204.  
  205. Your Domain Name is the part of your E-mail address that identifies your
  206. provider.
  207.  
  208. The next page is the rest of the servers that you need:
  209.  
  210.  -------------------------------------------------
  211. =                                                 ||
  212. = .Default Servers/Hosts....................      |||--------------
  213. = .     News Server:  news.minn.net        .      |||  Login Info  |
  214. = .   Gopher Server:  gopher.micro.umn.edu .      |||--------------
  215. = .      WWW Server:  www.minn.net         .      |||  Connect Info |
  216. = ..........................................      -----------------
  217. = .Mail Server Information..................        Server Info |
  218. = .    Mail Gateway: legarto               .      ---------------
  219. = . POP Mail Server: legarto               .      |  Modem Info  |
  220. = .    Reply domain: minn.net              .      ||-------------
  221. = . Reply (Mail) ID: rusty        .      ||||
  222. = .    POP Login ID: rusty                 .      ||||
  223. = .    POP Password: ********              .      ||||
  224. = ..........................................      ||||
  225. =                                                 ||||
  226. =                                                 ||||
  227. =                  ______                         ||||
  228. =                 | HELP |  (* = required field)  ||||
  229. =                  ~~~~~~                         ||||
  230. =                                Page 3 of 4 <- ->||||
  231.  =================================================- ||
  232.  \==================================================-
  233.  
  234. If you leave the Default Servers/Hosts fields blank they will default
  235. to the IBM servers. This can make for some long delays if you are
  236. connecting to a provider with a low bandwidth connection to the net. The
  237. rest of the fields should follow the recommendations of your provider.
  238. If your provider has these servers then you will probably be asked to
  239. point to their server.
  240.  
  241. The Mail Server Information consists of the name of the machine that
  242. will be your mail gateway, the machine that will hold your mail for you,
  243. your domain name for incoming mail, the address you want people to reply
  244. to, your mail login ID and password. The above information will usually
  245. be defined by your service provider. If your ISP recommends that you use
  246. the string "user@domain.name" for your reply to address change this to
  247. simply "user". The reason for this is that NewsReader/2  merges this
  248. field with the domain name to build it's reply to field. If you watch
  249. UseNet and see something like "user@domain.name.domain.name" then you
  250. can be fairly confident that this is the problem.
  251.  
  252. I will not include the setup for the last page (Modem Info) as each
  253. modem will need it's own setup. On the modem info page you will probably
  254. be able to select your modem. If your modem is not listed, you will need
  255. to customize your initialization strings. I have a no-name v.34 modem
  256. that I have the following init strings for.
  257.  
  258.          first Init string: ati
  259.         second Init string: atz1
  260.  
  261. I have set up the modem settings that work for me and used an atw1 to
  262. write them to the modem's memory.
  263.  
  264. Other things that you will need to do are to select the com port that
  265. you will be using, what speed you will use, the condition of the modem,
  266. dial or answer, If you want the modem to start off by disabling call
  267. waiting, (Highly recomended if you have call waiting, Not a bad idea to
  268. instantiate using the telco's system memory for an answering machine
  269. also. The cost isn't that much, and I happen to think it is a better
  270. deal than call waiting. But then I work for the phone company, so you
  271. may disregard my comments if you wish.)
  272.  
  273. The data bits parity and stop bits are usually set up for you as you
  274. select the modem. If your provider does some odd things with these you
  275. will have to talk with them about what settings they require.
  276.  
  277. Q: 950909: I can't get my Windows software to work after I have
  278. connected to my provider. I keep getting Network Unreachable! What's
  279. wrong?
  280.  
  281. A: 950909: You probably have a copy of winsock.dll in you windows or
  282. windows\system directory. Move this file to another location while you
  283. are using the windows system under OS/2. This will force windows to use
  284. the winsock.dll that OS/2 provides, which just happens to provide the
  285. needed interface to the Internet Access Kit for OS/2.
  286.  
  287. ========================================================================
  288. Messages in the Status box.
  289. ------------------------------------------------------------------------
  290. Q: 950909: What does "Error: invalid fcs" mean?
  291.  
  292. A: 960101: It means that PPP has detected what it thinks is a corrupt
  293. packet. PPP packets are streams of bytes beginning with a marker
  294. character (Ascii 126 the last I checked) and ending with the same
  295. character. The bytes between the markers is organized as follows,
  296. PPPHeader, Data, Checksum. The entire stream of bytes is called a
  297. frame.  This looks something like this...
  298.  
  299. ~hhhhhhhddd...dddcc~
  300.  
  301. When PPP receives a frame it passes it through a checksum function that
  302. returns either a pass or a fail. If the frame passes then it passes the
  303. frame up the TCP/IP stack, or some other network stack if PPP is being
  304. used that way. If more than one stack is in use then PPP will use the
  305. information in the header to determine which stack get's the frame.
  306.  
  307. If the frame fails the checksum function then it is discarded and
  308. optionally an error message is sent to stderror, in the case of the IBM
  309. PPP stack this message is routed to the status window of DOIP.
  310.  
  311. An error of this type can be caused by any of the following: a
  312. programming error on the part of the people who implemented PPP at
  313. either your service provider, or the IBM PPP program (this is often
  314. referred to as a bug.) Line noise. Improper interrupt
  315. utilization/handling on the part of the hardware device drivers,
  316. improper login
  317. results/handling.
  318.  
  319. The first thing to check is am I actually logged in? If you are you can
  320. open an OS/2 window and run ping against one of your preferred hosts.
  321. ftp.microsoft.com comes to mind. If you get unknown host
  322. ftp.microsoft.com then you are probably not logged in.
  323.  
  324. If you are logged in, are the invalid fcs messages coming in
  325. intermittently, or constantly. Try a large file transfer. If you are
  326. getting consistent bad frames you may need to change your com port
  327. drivers. I can recomend SIO, but there are others available. Check the
  328. drivers directory of one of the FTP sites listed at the end of this
  329. document.
  330.  
  331. If the invalid fcs messages are coming in intermittently, the problem
  332. may reside outside of your system. Try different internet access
  333. providers, or different phone lines. Try connecting from a different
  334. exchange, or even just a different location. If the problem goes away
  335. in any of these situations you can probably identify the problem right
  336. there.
  337.  
  338. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  339. Q: 950909: What does "Error: invalid protocol 2080" mean? What can I do
  340. about it?
  341.  
  342. A: 950909: From above recall that a PPP frame includes a header. This
  343. header includes a protocol field. This field tells the PPP driver what
  344. stack the contents of the frame belong to. Besides sending the frame
  345. through the checksum function it checks to see if the frame belongs to
  346. a valid stack that has been set up on your machine.
  347.  
  348. I know, "The only stack I use PPP for is TCP/IP, what is this Protocol
  349. business about?" is likely to be one of your questions. Good question.
  350.  
  351. PPP has been designed or rather specified in such a way that if you so
  352. desire you may use PPP to link to Novell lan's together using it, or two
  353. Banyan Vines lan's, or just about any other network architecture. The
  354. MRU that we set up above is large enough that you can bridge two Ethernet
  355. networks together over a PPP link.  On top of this TCP/IP is made up of
  356. three primary protocols of it's own. These are TCP, UDP and ICMP. TCP/IP
  357. is a name that is a bit of a misnomer. For all practical purposes it can
  358. be called IP. TCP/IP merely distinguishes it from anything else that may
  359. come along with the initials I and P. As an example if I wanted to
  360. create a new protocol that did only tunneling, I might give it a
  361. protocol number while I was testing it, and this protocol number would
  362. allow my stack to work with the packets, while other stacks would
  363. ignore it.
  364. Here is where your problem arises. If the "frame" that PPP sees is not
  365. an actual frame, but a stream of text, PPP will still try to parse it as
  366. a PPP frame. It looks at the protocol field of the header and sees a
  367. protocol identifier and tries to compare that identifier with it's list
  368. of defined / registered stacks. If it does not match to one it gives you
  369. the above error message, with the number for the protocol that the frame
  370. it parsed had.
  371.  
  372. Either you have experienced line noise corrupting the frame header, or
  373. you're system is expecting PPP frames when it is receiving something
  374. else. Usually this will indicate that you have not completely logged in
  375. yet. If you are using SIO, fire up PMLM and look at the data stream to
  376. verify that what you are getting is not a login prompt, or a chose this
  377. or that protocol prompt, or a text menu of some sort.
  378.  
  379. One of the things that can cause this problem is having the word NONE in
  380. the Login Sequence window. If it is there remove it. If the problem
  381. persists try setting up a login routine in the sequence window, or if it
  382. is absolutely necessary use a REXX script to log in.
  383.  
  384. The format for the Login Sequence lines is Odd lines send, even lines
  385. waitfor, the put a \r on the line if you want the system to simply send
  386. a carriage return. If the system uses odd prompts for requesting user
  387. names and passwords then you will want to put the appropriate prompt on
  388. the even lines. For example you might see...
  389.  
  390.         Who are you?> rusty
  391.         How do I know?> strange{*}land
  392.         I have 1)shell access 2)PPP access 3)SLIP access 4)Goodbye!
  393.         What do you want?> 1
  394.  
  395. If you have set up your login id and password correctly, you can modify
  396. the login sequence to look like:
  397.  
  398.         \r
  399.         you?>
  400.         [LOGINID]
  401.         know?>
  402.         [PASSWORD]
  403.         want?>
  404.         1
  405.  
  406. And you should then be able to log in properly. If you need to pull IP
  407. addresses out of the text stream then you will need to add the
  408. appropriate entries to this field. The help file goes into more depth
  409. here.
  410.  
  411. If you decide to use a REXX script for whatever reason, perhaps you
  412. need to enter a password from a list depending upon the time of day or
  413. whatever, name the REXX script along with its .cmd extension, and any
  414. parameters that it needs. You will find a sample REXX script in your
  415. tcpip\bin directory named annex.cmd.
  416.  
  417. You can also name a response file that will do the same as I have shown
  418. above simply by naming that file on the first line. You will find a
  419. sample response file in the tcpip\bin directory named sample.rsp.
  420.  
  421. ========================================================================
  422. My setup.
  423. ------------------------------------------------------------------------
  424. Q: 960101 How do you connect to the internet now?
  425.  
  426. A: 960101 When I started this FAQ I used the Dial Other Internet
  427. Providers application. After releasing the document to the public, I
  428. was introduced to the program PPPFAKE, which created a .cmd file
  429. containing all the parameters of the line passed to the PPP.EXE program
  430. when it is called by SLIPPM. I was introduced to this program by Lamar
  431. Stonecypher <L.Stone@internetMCI.com> in his variation of the DOIP FAQ.
  432. The last I checked his FAQ may be viewed at Rusty Boyd's home page at
  433. http://www.nhn.unknor.edu/~boyd/pppfaq.html
  434.  
  435. After using the ppp.cmd files that I created I decided to take a look at
  436. the contents of the file. I found a few items that I felt were not
  437. needed, so I removed them and tried the resulting file. It worked.
  438.  
  439. Over time I talked with my ISP and requested an IP address of my own.
  440. It costs me extra, but the advantages that are included meet my needs.
  441. I have had to make some more changes to the resulting ppp.cmd files.
  442.  
  443. From time to time I have had the line fail on me, so I watched
  444. comp.os.os2.network.tcpip and spotted a .cmd file that would allow my
  445. system to reconnect without writing a script that PPP calls, and that
  446. makes it so that I do not have to alter the PPP.exe file to prevent it
  447. from exiting when it looses carrier.
  448.  
  449. As it stands I now have a REXX file that simply performs a loop that
  450. calls PPP and when PPP exits, sleeps for 5 seconds. The sleep function
  451. allows me to exit out of the script simply by doing a ctrl-c twice, the
  452. first time to exit PPP, the second time to exit the REXX script. It also
  453. allows my ISP's modems to reset.
  454.  
  455. If I wanted to set up a telnet daemon, I could set the script to check
  456. for an environment variable that would tell the system if it should be
  457. up or down, and exit if it should be down. I could do something very
  458. much like this by stopping the process, but I would have other concerns
  459. about this. Personally I have little interest in setting up a telnet
  460. daemon at this time other than I would like to have a scrollable session
  461. and this would allow it.
  462.  
  463.  
  464. ========================================================================
  465. FTP sites.
  466. ------------------------------------------------------------------------
  467. Hobbes: hobbes.nmsu.edu or ftp-os2.nmsu.edu
  468. CD-Rom: ftp.cdrom.com
  469. IBM:    ftp.ibm.net
  470.